package cn.liberals;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.liberals.*.mapper")
// 添加监听器listener包扫描注解
@ServletComponentScan(value = {"cn.liberals.basic.listener"})
public class PetHomeApp {

    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class, args);
    }

}
